<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    section {
      width: 100%;
      max-width: 980px;
      min-width: 620px;
      margin: 0 auto;
    }
    section div {
      float: left;
      width: 50%;
      height: 400px;
    }
    section div:nth-child(1) {
      background-color: pink;
    }
    section div:nth-child(2) {
      background-color: purple;
    }
  </style>
  <body>
    <section>
      <div></div>
      <div></div>
    </section>
  </body>
</html>
